<?php
class CustomModel extends Model {
	protected $_validate     =     array( 
    	array('no','require','作者不能为空！',1),
        array('name','require','标题不能为空！',1), 
        array('courseid','require','课程不存在！',1),
        array('text','require','内容不能为空！',1),       
        ); 
	/*protected $_auto	 =	 array(	
		array('status','1',self::MODEL_INSERT),
		array('time','time',self::MODEL_INSERT,'function'),
		);*/

}
?>